<?php
	header("Content-Type: text/html; charset=UTF-8");
	$_SESSION["session_key"]=$_REQUEST['xn_sig_session_key'];
	$_SESSION["uid"]=$_REQUEST['xn_sig_user'];
	require_once(APP.'libs'.DS.'system_properties.php');
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<?php echo SystemProperties::$app_host_webroot.'<?php echo SystemProperties::$path;?>/js/swfobject.js'?>"></script>
<title><?php echo $title ?></title>
<style type="text/css">
<!--
body{
	padding:0;
	margin:0;
}
-->
</style>
<table width="800" border="0" cellspacing="0" cellpadding="0" >
<tr height=5><td></td>
</tr>
<tr>
<td align=left  width="20%"><img border="0" src="<?php echo SystemProperties::$app_host_webroot ?>/img/logo1.jpg" /></td>
<td  width="20%"><a href="<?php echo SystemProperties::$app_url?>/game/startGame?origin=103" target="_parent"><img border="0" src="<?php echo SystemProperties::$app_host_webroot ?>/img/b1.gif" /></a></td>
<td  width="20%"><a href="<?php echo SystemProperties::$app_host_webroot?>/adward.html" target="_blank"><img border="0" src="<?php echo SystemProperties::$app_host_webroot ?>/img/2.gif" /></a></td>
<td  width="20%"><a href="<?php echo SystemProperties::$app_url?>/User/showInvitationPage" target="_blank"><img border="0" src="<?php echo SystemProperties::$app_host_webroot ?>/img/3.gif" /></a></td>
<td width=30%></td>
</tr>
<tr height=5><td></td>
</tr>
<tr>

<td colspan=5  align=center style="font-size=15;background-color:#FFFFCC;border:1px solid #CCCCCC;margin:3px;padding:8px 20px;">最新消息：你只需邀请10个好友加入王老吉庄园，就可以免费获得小蜜蜂一只。<a href="<?php echo SystemProperties::$app_url?>/user/showInvitationPage" target="_blank">邀请更多好友</a></td>

</tr>	
<tr height=5><td></td>
</tr>
</table>
<script type="text/javascript">
<!--
    var flashvars = {
    	f_id: "<?php echo $id ?>",
    	f_host:"<?php echo $f_host ?>",
    	f_host_img:"<?php echo $f_host_img ?>",
    	f_help:"<?php echo $f_help ?>"
    };
    var params = {
    	menu: "false",
    	//wmode: "window",
    	wmode: "Opaque",
    	allowFullScreen: "true",
    	scale: "noscale"
    };
    var attributes = {
    	id: "flashcontent",
    	name: "flashcontent"
    };
    swfobject.embedSWF("<?php echo SystemProperties::$app_host_webroot.'/flash/wlj_gameloader.swf'?>", "flashcontent", "800", "600", "9.0.114", null, flashvars, params, attributes);
//-->
</script>
</head>
<body>
<div id="flashcontent">
</div>
</body>
</html>